package com.fx.service.impl;

import com.fx.mapper.SysRoleMapper;
import com.fx.pojo.SysRole;
import com.fx.service.SysRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SysRoleServiceImpl implements SysRoleService {

    @Resource
    private SysRoleMapper sysRoleMapper;

    @Override
    public List<SysRole> findList() {
        return sysRoleMapper.findList();
    }
}
